const MOBILE_WIDTH = 768

const mobileRender = (windowWidth: number, dom: any, defaultDom?: any) => {
    if (windowWidth <= MOBILE_WIDTH) {
        return dom
    }
    return defaultDom
}

export default mobileRender